<template>
	<view class="body">
		<view style="height: 20rpx;"></view>
		<view class="logsbox"  v-if="list.length>1">
			
			<view class="logli" v-for="item in list">
				<view style="height: 10rpx;"></view>
				<view class="logt">
					<view class="logt1">提现</view>
					<view class="logt2">-{{item.money}}</view>
				</view>
				<view class="logb" >
					<view class="logb1">{{item.times}} </view>
					<view class="log2">{{item.status==1?'完成':'审核中'}}</view>
				</view>
			</view>			
		</view>
		
		
		
		<view class="nolist" v-if="list.length<1">
			<image src="/static/image/nolist.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	
	import {curl} from 'common/api.js';
	import {baseUrl} from "common/config.js";
	
	
	export default {
		data() {
			return {
				list:[1,2,3]
			}
		},
		
		onShow() {
			var that=this;
			curl('daili/getmytixian', {}).then((res) => {
				this.list=res.data;
			});
		},
		methods: {
			
		}
	}
</script>

<style>
	
	.log2{
		width: auto;height: 40rpx;
		padding: 0px 14rpx;font-size: 24rpx;line-height: 40rpx;
		background: #e9f9ec;color: #08b059;border-radius: 5rpx;
	}
	.logb1{
		font-size: 28rpx;color: #666666;
	}
	
	.logt1,.logt2{
		font-size: 30rpx;font-weight: bold;
		color: #333333;
	}
	.logb{
		width: 650rpx;height: 50rpx;
		display: flex;align-items: center;justify-content: space-between;
	}
	.logt{
		width: 650rpx;height: 70rpx;
		display: flex;align-items: center;justify-content: space-between;
	}
	.logli:last-child{
		border-bottom: none;
	}
	.logli{
		width: 650rpx;height: 140rpx;margin: auto;
		border-bottom: 1px solid #ececec;
	}
	.logsbox{
		width: 700rpx;height: auto;margin:15rpx auto;
		background: #ffffff;border-radius: 10rpx;
	}
	.body{
		width: 100%;min-height: 100vh;
		background: #fafafa;
	}
</style>
